<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
</head>
<body>
<script type="text/javascript">
	console.log(111)
</script>
<script type="text/typescript">
// 在typescript中定义的每个变量都要声明类型
var color:string = 'red';
var num:number = 123;
var isRight:boolean = true;

console.log(color)
console.log(num)
console.log(isRight)
</script>

<script type="text/javascript" src="lib/typescript.min.js"></script>
<script type="text/javascript" src="lib/typescript.compile.min.js"></script>
</body>
</html>